Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.poll.layouts--layouts

This contribution is part of XML component org.nuxeo.ecm.poll.layouts inside nuxeo-poll-web-5.8.jar

Extension Point

Extension point layouts of component WebLayoutManager.

Contributed Items

  • <layout name="poll_heading">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>poll_question</widget>
            </row>
            <row>
              <widget>description</widget>
            </row>
          </rows>
        </layout>
  • <layout name="poll">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>poll_answers</widget>
            </row>
            <row>
              <widget>start_date</widget>
            </row>
            <row>
              <widget>end_date</widget>
            </row>
          </rows>
        </layout>
  • <layout name="poll_dublincore">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>subjects</widget>
            </row>
            <row>
              <widget>created</widget>
            </row>
            <row>
              <widget>modified</widget>
            </row>
            <row>
              <widget>author</widget>
            </row>
            <row>
              <widget>contributors</widget>
            </row>
            <row>
              <widget>lastContributor</widget>
            </row>
          </rows>
        </layout>
  • <layout name="poll_summary_layout">
          <templates>
            <template mode="any">/layouts/layout_summary_template.xhtml</template>
          </templates>
          <rows>
            <row>
            </row>
            <row>
              <widget>summary_current_document_description</widget>
              <widget>summary_poll_result</widget>
            </row>
            <row>
              <widget>summary_back_to_polls_listing</widget>
              <widget>summary_open_poll</widget>
              <widget>summary_current_document_actions</widget>
              <widget>summary_current_document_view</widget>
              <widget>summary_current_document_tagging</widget>
            </row>
          </rows>
        </layout>

XML Source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <layout name="poll_heading">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>poll_question</widget>
        </row>
        <row>
          <widget>description</widget>
        </row>
      </rows>
    </layout>

    <layout name="poll">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>poll_answers</widget>
        </row>
        <row>
          <widget>start_date</widget>
        </row>
        <row>
          <widget>end_date</widget>
        </row>
      </rows>
    </layout>

    <layout name="poll_dublincore">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>subjects</widget>
        </row>
        <row>
          <widget>created</widget>
        </row>
        <row>
          <widget>modified</widget>
        </row>
        <row>
          <widget>author</widget>
        </row>
        <row>
          <widget>contributors</widget>
        </row>
        <row>
          <widget>lastContributor</widget>
        </row>
      </rows>
    </layout>

    <!-- deprecated since 5.7.1, here for compat -->
    <layout name="poll_summary_layout">
      <templates>
        <template mode="any">/layouts/layout_summary_template.xhtml</template>
      </templates>
      <rows>
        <row>
        </row>
        <row>
          <widget>summary_current_document_description</widget>
          <widget>summary_poll_result</widget>
        </row>
        <row>
          <widget>summary_back_to_polls_listing</widget>
          <widget>summary_open_poll</widget>
          <widget>summary_current_document_actions</widget>
          <widget>summary_current_document_view</widget>
          <widget>summary_current_document_tagging</widget>
        </row>
      </rows>
    </layout>

  </extension>